package cn.wjdiankong.levideo.utils;

import java.util.HashMap;

import com.ss.android.common.applog.GlobalContext;
import com.umeng.analytics.MobclickAgent;

public final class UmengReportUtils {
	
	public final static String SPLASH_ENTER = "splash_enter";
	public final static String SPLASH_BACK = "splash_back";
	
	public final static String MAIN_LEFT_MENU = "main_left_menu";
	public final static String MAIN_USER_LOGIN = "main_user_login";
	public final static String MAIN_NO_DATA_ERROR = "main_no_data_error";
	public final static String MAIN_MENU_USER_LOGIN = "main_menu_user_login";
	public final static String MAIN_MENU_TOUTIAO_GUIDE = "main_menu_toutiao_guide";
	public final static String MAIN_MENU_LOCALVIDEO = "main_menu_localvideo";
	public final static String MAIN_MENU_SETTING = "main_menu_setting";
	public final static String MAIN_MENU_ABOUT_ME = "main_menu_aboutme";
	public final static String MAIN_MENU_SUPPORT_APP = "main_menu_support_app";
	public final static String MAIN_MENU_BOOK = "main_menu_book";
	public final static String MAIN_MENU_CLOSE = "main_menu_close";
	
	public final static String SETTING_TABSORT = "setting_tabsort";
	public final static String SETTING_TOUTIAO = "setting_toutiao";
	public final static String SETTING_CLEAR_CACHE = "setting_clear_cache";
	public final static String SETTING_BOOK = "setting_book";
	public final static String SETTING_LAW = "setting_law";
	public final static String SETTING_SUPPORT_APP = "setting_support_app";
	public final static String SETTING_ABOUT_ME = "setting_about_me";
	public final static String SETTING_DOUYIN_CLEAR = "setting_douyin_clear";
	public final static String SETTING_HUOSHAN_CLEAR = "setting_huoshan_clear";
	public final static String SETTING_MIAOPAI_CLEAR = "setting_miaopai_clear";
	public final static String SETTING_KUAISHOU_CLEAR = "setting_kuaishou_clear";
	public final static String SETTING_TOUTIAO_CLEAR = "setting_toutiao_clear";
	public final static String SETTING_TABSORT_RESULT = "setting_tabsort_result";
	public final static String SETTING_LOCALVIDEO = "setting_localvideo";
	
	public final static String VIDEOPLAYER_PLAY = "videoplayer_play";
	public final static String VIDEOPLAYER_DOWNLOAD = "videoplayer_download";
	public final static String VIDEOPLAYER_SETTING = "videoplayer_setting";
	public final static String VIDEOPLAYER_COPY = "videoplayer_copy";
	public final static String VIDEOPLAYER_DELETE = "videoplayer_delete";
	public final static String VIDEOPLAYER_SLIDE_UP = "videoplayer_slide_up";
	public final static String VIDEOPLAYER_SLIDE_DOWN = "videoplayer_slide_down";
	public final static String VIDEOPLAYER_SLIDE_BAR = "videoplayer_slide_bar";
	public final static String VIDEOPLAYER_PASUE = "videoplayer_pause";
	public final static String VIDEOPLAYER_SLIDE_LIGHT = "videoplayer_light";
	public final static String VIDEOPLAYER_SLIDE_VOICE = "videoplayer_voice";
	public final static String VIDEOPLAYER_REPLAY = "videoplayer_replay";
	public final static String VIDEOPLAYER_ERROR = "videoplayer_error";
	public final static String VIDEOPLAYER_RETURN = "videoplayer_return";
	public final static String VIDEOPLAYER_FINISH = "videoplayer_finish";
	public final static String VIDEOPLAYER_CLICK = "videoplayer_click";
	public final static String VIDEOPLAYER_MENU = "videoplayer_menu";
	
	public final static String TOUTIAO_DOWNLOAD_ERROR = "toutiao_download_error";
	public final static String TOUTIAO_DOWNLOAD_GO_MANAGER = "toutiao_download_go_manager";
	
	public final static String TOUTIAO_VIDEO_DELETE = "toutiao_video_delete";
	public final static String TOUTIAO_VIDEO_DETAIL = "toutiao_video_detail";
	public final static String TOUTIAO_VIDEO_MENU = "toutiao_video_menu";
	public final static String TOUTIAO_VIDEO_DELETE_ALL = "toutiao_video_delete_all";
	
	public final static String LOCALVIDEO_DELETE = "localvideo_delete";
	public final static String LOCALVIDEO_DETAIL = "localvideo_detail";
	public final static String LOCALVIDEO_MENU = "localvideo_menu";
	public final static String LOCALVIDEO_DELETE_ALL = "localvideo_delete_all";
	
	public final static String ABOUTME_COPY_WX_ME = "aboutme_copy_wx_me";
	public final static String ABOUTME_COPY_WX_ALL = "aboutme_copy_wx_all";
	public final static String ABOUTME_WEBSITE = "aboutme_website";
	
	public final static String BOOK_GOPAY = "book_gopay";
	
	public final static String AD_SPLASH_SHOW = "ad_splash_show";
	public final static String AD_SPLASH_ERROR = "ad_splash_error";
	public final static String AD_SPLASH_CLOSE = "ad_splash_close";
	public final static String AD_SPLASH_CLICK = "ad_splash_click";
	
	public final static String AD_BANNER_SHOW = "ad_banner_show";
	public final static String AD_BANNER_CLOSE = "ad_banner_close";
	public final static String AD_BANNER_ERROR = "ad_banner_error";
	public final static String AD_BANNER_CLICK = "ad_banner_click";
	
	public final static String AD_VIDEO_SHOW = "ad_video_show";
	public final static String AD_VIDEO_ERROR = "ad_video_error";
	public final static String AD_VIDEO_CLOSE = "ad_video_close";
	public final static String AD_VIDEO_CLICK = "ad_video_click";
	
	public static void report(String eventId){
		MobclickAgent.onEvent(GlobalContext.getContext(), eventId);
	}
	
	public static void report(String eventId, HashMap<String, String> map){
		MobclickAgent.onEvent(GlobalContext.getContext(), eventId, map);
	}
	
}
